﻿using System.Collections.Generic;
using Inovout.Services;
using Inovout.YunYao.Models;
using Inovout.YunYao.Repositories;

namespace Inovout.YunYao.Services
{
    public class LocationService : RepositoryService<Location>, IRepositoryService<Location>, ILocationService
    {
        protected LocationRepository LocationRepository
        {
            get
            {
                return (LocationRepository)base.Repository;
            }
        }

        public IEnumerable<Location> FindAllTop()
        {
            return LocationRepository.FindAllTop();
        }
    }
}
